package cn.kgc.entity;

/**
 * @author liyuzhen
 * @date 2022/1/12 11:49
 */
public class Comment {
    private Integer id;
    private UserB userB;
    private Integer shopId;
    private String desc;
    /*@DateTimeFormat(pattern = "yyyy-MM-dd")*/
    private String createDate;
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public UserB getUserB() {
        return userB;
    }

    public void setUserB(UserB userB) {
        this.userB = userB;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", userB=" + userB +
                ", shopId=" + shopId +
                ", desc='" + desc + '\'' +
                ", createDate=" + createDate +
                ", status=" + status +
                '}';
    }
}
